n = int(input('请输入整数：'))
if n == 1: print('星期一')
elif n == 2: print('星期二')
elif n == 3: print('星期三')
elif n == 4: print('星期四')
elif n == 5: print('星期五')
elif n == 6: print('星期六')
elif n == 7: print('星期日')
else: print('非法输入')